import request from '@/utils/request'

// 团队类型选择性添加
export function insertTeamtype(data) {
  return request({
    url: '/administrative/teamType/insertSelective',
    method: 'POST',
    data
  })
}

// 团队类型删除字段
export function deleteTeamtype(params) {
  return request({
    url: '/administrative/teamType/deleteByPrimaryKey',
    method: 'POST',
    params
  })
}

// 团队类型选择性修改
export function updateTeamtype(data) {
  return request({
    url: '/administrative/teamType/updateByPrimaryKeySelective',
    method: 'POST',
    data
  })
}

// 团队类型选择性修改查询
export function selectTeamtype(params) {
  return request({
    url: '/administrative/teamType/selectByPrimaryKey',
    method: 'post',
    params
  })
}

// 团队类型表分页查询
export function getTeamtypeList(params) {
  return request({
    url: '/administrative/teamType/selectPage',
    method: 'POST',
    params
  })
}

